'''
Created on Nov 28, 2011

@author: dstu
'''

from ProfessionClass import *

class Organization(object):
    '''
    classdocs
    '''


    def __init__(self, profession):
        '''
        Constructor
        '''
        self.profession = profession
        self.generateName()
    
    
    def generateName(self): 
        self.name = "The fury of " + self.profession.getMaterialSet().getSingular()
        


def main():
    
    gold = Material( MaterialName("gold", "gold", "gold's", "gold's") )
    silver = Material( MaterialName("silver", "silver", "silver's", "silver's") )
    metal = MaterialSet([gold, silver], MaterialName("metal", adjective = "metallic") )

    metalworker = Profession( ProfessionName("smith"), metal)




if __name__ == "__main__":
    main()